package org.example.entity;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.lang.reflect.Array;
import java.util.List;

/**
 *
 */
@Component
public class MyClass {

    @Value("${my.num}")
    public int abc;
    @Value("${my.str}")
    public String str;
    @Value("${my.array}")
    public String[] arr;
    @Value("${my.list}")
    public List<String> list;

}
